package com.nine.gxh.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nine.gxh.dtos.GxhInfoChannelDto;
import com.nine.gxh.model.GxhInfoChannel;
import com.nine.gxh.vos.GxhInfoChannelVo;

import java.util.List;

/**
 * @author: duonine
 * @date: 2023/7/3
 */
public interface GxhInfoChannelService extends IService<GxhInfoChannel> {

	/**
	 * 列表【分页】
	 *
	 * @param dto
	 * @return
	 */
	IPage<GxhInfoChannel> listAll(GxhInfoChannelDto dto);

	List<GxhInfoChannel> listByXml(GxhInfoChannelDto dto);

	GxhInfoChannel addChannel(GxhInfoChannelDto dto);

	boolean delChannel(String channelId);

	GxhInfoChannel updateChannel(GxhInfoChannelDto dto);

	GxhInfoChannel detailChannel(String channelId);

	boolean delChannelBatch(List<String> ids);

	List<GxhInfoChannel> exportList(GxhInfoChannelVo channelVo);

}
